    for(int i = 0;i <= n;i++)
    {
        for(int j = 0;j < 16;j++)
        {
            cout <<dp[i][j] <<" ";
        }
        cout << endl;
    }